package libary;

public class Customer {
    public double calTotalFines(Book[] books,int borrowingDays){
        double total=0;
        for (Book book: books) {
            total += book.calFines(borrowingDays);
        }
        return total;
    }
}
